package com.inspur.s57.datacatalog.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HtmlController {

    @RequestMapping("catalog")
    public String catalog(){

        return "page/catalog";
    }

    @RequestMapping("/")
    public String index(){

        return "page/catalog";
    }

    @GetMapping("editTreeModel")
    public String treeModel(){
        return "page/editTreeModel";
    }

    @GetMapping("addTreeModel")
    public String addTreeModel(){
        return "page/addTreeModel";
    }

    @GetMapping("addCatalog")
    public String addCatalog(){

        return "page/addCatalog";
    }
}
